.turntable-container {
  width: 750rpx;
  position: relative;
  min-height: 100vh;
  background-color: rgb(255, 218, 121);

  .game-bg {
    width: 750rpx;

    image {
      width: 750rpx;
      height: 280rpx;
      display: block;
    }
  }

  .game-box {
    width: 602rpx;
    height: 604rpx;
    position: absolute;
    margin: 0 auto;
    top: 685rpx;
    left: 0;
    right: 0;
    box-sizing: border-box;
    overflow: hidden;

    .wheel {
      width: 602rpx;
      height: 604rpx;
      position: absolute;
      top: 0;
      left: 0;
      border-radius: 50%;
      box-sizing: border-box;
      overflow: hidden;

      image {
        width: 602rpx;
        height: 604rpx;
        box-sizing: border-box;
        overflow: hidden;
      }
    }

    .arrow {
      width: 167rpx;
      height: 239rpx;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 70rpx;
      margin: auto;
      z-index: 2;

      image {
        width: 167rpx;
        height: 239rpx;
      }
    }
  }

  .a-time {
    color: #d33625;
    font-size: 28rpx;
    text-align: center;
    position: absolute;
    bottom: 50rpx;
    width: 750rpx;
    left: 0;
  }

  .game-modal {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;

    .game-modal-mask {
      width: 100vw;
      height: 100vh;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 0;
      background-color: rgba(0, 0, 0, 0.5)
    }

    .game-modal-content {
      width: 635rpx;
      height: 749rpx;
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      margin: auto;

      image {
        width: 635rpx;
        height: 749rpx;
      }

      .game-modal-title {
        width: 100%;
        text-align: center;
        color: #ea5328;
        font-size: 48rpx;
        position: absolute;
        top: 95rpx;
      }

      .prize {
        width: 100%;
        text-align: center;
        color: #ea5328;
        font-weight: bold;
        font-size: 68rpx;
        position: absolute;
        top: 245rpx;
      }

      .action-btn {
        width: 330rpx;
        height: 100rpx;
        position: absolute;
        top: 380rpx;
        left: 0;
        right: 0;
        margin: 0 auto;
        opacity: 0;
      }

      .close {
        width: 100rpx;
        height: 100rpx;
        background-color: #ccc;
        border-radius: 50%;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        opacity: 0
      }

      .invalid-date {
        width: 100%;
        text-align: center;
        position: absolute;
        bottom: 207rpx;
        color: #ffffff;
        font-size: 32rpx;
      }
    }

    .show-modal {
      animation: myanimation 1s ease forwards;
    }
  }
}

@keyframes myanimation {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.box {
  position: relative;
  width: 600rpx;
  height: 600rpx;
  margin: 0 auto;
  // top: 685rpx;
  // left: 0;

  .wheel {
    position: relative;
    width: 600rpx;
    height: 600rpx;
    background-color: #fff;
    border-radius: 50%;
    overflow: hidden;


    .block {
      box-shadow: 0 0 1px #000 inset;
      position: absolute;
      width: 300rpx;
      height: 300rpx;
      transform-origin: right bottom 0;
      -webkit-transform-origin: right bottom 0;
    }

    .block:nth-child(odd) {
      background-color: #F1AAA6;
    }

    .block:nth-child(even) {
      background-color: #FD5B78;
    }

    .block:nth-child(1) {
      transform: rotate(0deg) skewY(30deg);
    }

    .block:nth-child(2) {
      transform: rotate(60deg) skewY(30deg);
    }

    .block:nth-child(3) {
      transform: rotate(120deg) skewY(30deg);
    }

    .block:nth-child(4) {
      transform: rotate(180deg) skewY(30deg);
    }

    .block:nth-child(5) {
      transform: rotate(240deg) skewY(30deg);
    }

    .block:nth-child(6) {
      transform: rotate(300deg) skewY(30deg);
    }

    .content {
      width: 200rpx;
      height: 230rpx;
      transform-origin: center center 0;
      transform: skewY(-30deg) rotate(-30deg) translate(0, 150rpx);
      -webkit-transform: skewY(-30deg) rotate(-30deg) translate(0, 100rpx);
      position: absolute;
      right: 0;
      bottom: 0;
      text-align: center;
    }
  }

  .arrow {
    width: 167rpx;
    height: 239rpx;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    // margin: auto;
    z-index: 2;

    image {
      width: 100%;
      height: 100%;
    }
  }
}